package news.mdel;

public class New {

    private Integer newid;
    private String title;

    private String category;

    private String createtime;

    private String content;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public New(Integer newid, String title, String category, String createtime, String content) {
        this.newid = newid;
        this.title = title;
        this.category = category;
        this.createtime = createtime;
        this.content = content;
    }

    public New() {
    }

    public Integer getNewid() {
        return newid;
    }

    public void setNewid(Integer newid) {
        this.newid = newid;
    }

    public New(Integer newid, String title, String category, String createtime) {
        this.newid = newid;
        this.title = title;
        this.category = category;
        this.createtime = createtime;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }
}
